<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<?php
/**
 * Created by PhpStorm.
 * User: dapeng
 * Date: 2018/10/8
 * Time: 下午2:39
 */

include "Test.php";

//$test1 = new Test();
$test1 = Test::getInstance();
$test2 = Test::getInstance();
$test3 = Test::getInstance();

var_dump($test1);
var_dump($test2);
var_dump($test3);

if ($test1 == $test2){
    echo "1和2相等";
}

if ($test2 === $test3){
    echo "2和3相等";
}




